/* 公共样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #333;
    background: #f5f5f5;
    min-width: 1200px;
}

/* 容器 */
.container {
    width: 1200px;
    margin: 0 auto;
}

/* 清除浮动 */
.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

/* 链接样式 */
a {
    text-decoration: none;
    color: #666;
}

a:hover {
    color: #e1251b;
}

/* 列表样式 */
ul, ol {
    list-style: none;
}

/* 图片样式 */
img {
    vertical-align: middle;
    border: none;
}

/* 按钮基础样式 */
button {
    outline: none;
    border: none;
    cursor: pointer;
}

/* 输入框基础样式 */
input {
    outline: none;
    padding: 0 10px;
}

/* 文本溢出省略号 */
.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 多行文本溢出省略号 */
.ellipsis-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 常用间距 */
.mt10 { margin-top: 10px; }
.mt20 { margin-top: 20px; }
.mb10 { margin-bottom: 10px; }
.mb20 { margin-bottom: 20px; }
.ml10 { margin-left: 10px; }
.ml20 { margin-left: 20px; }
.mr10 { margin-right: 10px; }
.mr20 { margin-right: 20px; }

/* 常用颜色 */
.color-primary { color: #e1251b; }
.color-success { color: #5eb95e; }
.color-warning { color: #f37b1d; }
.color-danger { color: #dd514c; }
.color-info { color: #909399; }

/* 常用背景色 */
.bg-primary { background-color: #e1251b; }
.bg-success { background-color: #5eb95e; }
.bg-warning { background-color: #f37b1d; }
.bg-danger { background-color: #dd514c; }
.bg-info { background-color: #909399; }

/* 浮动 */
.fl { float: left; }
.fr { float: right; }

/* 定位 */
.relative { position: relative; }
.absolute { position: absolute; }

/* 显示隐藏 */
.hide { display: none; }
.show { display: block; }

/* flex布局 */
.flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.align-start {
    align-items: flex-start;
}

.align-end {
    align-items: flex-end;
}

.align-center {
    align-items: center;
}

/* 文字对齐 */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* 字体粗细 */
.font-normal { font-weight: normal; }
.font-bold { font-weight: bold; }

/* 鼠标样式 */
.pointer { cursor: pointer; }
.not-allowed { cursor: not-allowed; }

/* Logo样式 */
.logo {
    width: 190px;
    height: 40px;
}

.logo a {
    display: block;
    width: 100%;
    height: 100%;
    background: #c81623;  /* 红色背景 */
    color: #fff;  /* 白色文字 */
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

.logo a:hover {
    color: #fff;  /* 悬停时保持白色 */
    opacity: 0.9;  /* 轻微透明效果 */
} 